package homework.day03;

import java.util.ArrayList;
import java.util.Collection;

/**1
 * 改错题
 * @author Xiloer
 *
 */
public class Test02 {
    // String少了个[]
    //main未生效,
    public static void main(String[] args) {
        //将Integer改为String
        Collection<String> c = new ArrayList();
        c.add("one");
        c.add("two");
        c.add("three");
        c.add("four");
        c.add("five");
        for(String s : c) {

            System.out.println(s);
        }
    }


}



